﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class DVT
    {
        private string hanhDong;

        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        private int dVTID;
        private string maDonViTinh;
        private string tenDonViTinh;
        private string ghiChu;
        private Boolean deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public DVT()
        { }
        public DVT(string hanhdong)
        {
            this.hanhDong = hanhdong;
        }
        public DVT(string hanhdong, int dVTID, string maDonViTinh, string tenDonViTinh, string ghiChu, Boolean deleted)
        {
            this.hanhDong = hanhdong;
            this.dVTID = dVTID;
            this.maDonViTinh = maDonViTinh;
            this.tenDonViTinh = tenDonViTinh;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public DVT(string hanhdong, int dVTID, string maDonViTinh, string tenDonViTinh, string ghiChu, Boolean deleted, Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.hanhDong = hanhdong;
            this.dVTID = dVTID;
            this.maDonViTinh = maDonViTinh;
            this.tenDonViTinh = tenDonViTinh;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int DVTID
        {
            get { return this.dVTID; }
            set
            {
                this.dVTID = value;
            }
        }
        public string MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set
            {
                this.maDonViTinh = value;
            }
        }
        public string TenDonViTinh
        {
            get { return this.tenDonViTinh; }
            set
            {
                this.tenDonViTinh = value;
            }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
    }

}
